﻿using NLog;

namespace BonsaiScrum.Core.Infrastructure
{
    public class NLogLogger : ILogger
    {
        private readonly Logger _log;

        public NLogLogger()
        {
            _log = LogManager.GetCurrentClassLogger();
        }

        public void Debug(string message)
        {
            _log.Debug(message);
        }

        public void Debug(string format, params object[] args)
        {
            _log.Debug(format, args);
        }

        public void Info(string message)
        {
            _log.Info(message);
        }

        public void Info(string format, params object[] args)
        {
            _log.Info(format, args);
        }
    }
}
